Automattic\Jetpack\Connection\Manager D

Total Complexity 284
Dependencies 29
Dependents 64
Total lines 2,443
Lines of code 1,217
Logical lines of code 604
Comment lines 910
Methods 80
Properties 4

Methods 80

Method Rating Maintainability Complexity Lines of code
internal_verify_xml_rpc_signature()
D
29 31 117
register()
B
32 15 113
validate_remote_register_response()
A
41 13 59
authorize()
A
42 12 50
setup_xmlrpc_handlers()
A
45 11 41
restore()
A
52 10 26
get_connected_users()
A
52 10 23
refresh_blog_token()
A
45 9 38
is_usable_domain()
A
43 7 61
disconnect_site()
A
49 8 30
jetpack_connection_custom_caps()
A
54 8 23
try_registration()
S
53 6 23
update_connection_owner()
S
49 5 35
disconnect_user()
S
59 6 14
get_connected_user_data()
S
53 5 25
delete_all_connection_tokens()
S
54 5 21
authenticate_jetpack()
S
58 5 17
get_authorization_url()
S
43 3 46
configure()
S
49 4 30
add_stats_to_heartbeat()
S
60 5 13
get_connection_owner()
S
61 5 12
disconnect_site_wpcom()
S
62 5 11
jetpack_get_options()
S
48 3 37
get_assumed_site_creation_date()
S
49 3 33
connect_user()
S
58 4 16
verify_xml_rpc_signature()
S
64 4 10
update_connection_owner_wpcom()
S
59 2 17
xmlrpc_options()
S
57 2 17
apply_activation_source_to_args()
S
64 3 10
add_register_request_param()
S
69 3 6
__construct()
S
73 3 5
is_site_connection()
S
77 3 3
is_user_connected()
S
68 3 7
remove_non_jetpack_xmlrpc_methods()
S
65 3 9
set_min_time_limit()
S
68 2 8
require_jetpack_authentication()
S
66 2 8
xmlrpc_methods()
S
74 2 4
public_xmlrpc_methods()
S
70 2 6
get_connected_plugins()
S
69 2 7
get_max_execution_time()
S
69 2 7
is_connected()
S
72 2 5
is_missing_connection_owner()
S
69 2 7
clean_nonces()
S
74 2 4
is_plugin_enabled()
S
72 2 6
get_connection_owner_id()
S
74 2 4
is_connection_owner()
S
71 2 6
unlink_user_from_wpcom()
S
66 2 8
handle_registration()
S
67 2 7
alternate_xmlrpc()
S
63 1 11
api_url()
S
63 1 11
reconnect()
S
71 1 6
generate_secrets()
S
78 1 3
get_signed_token()
S
75 1 4
refresh_user_token()
S
73 1 5
initialize_rest_api_registration_connector()
S
81 1 3
add_nonce()
S
75 1 4
enable_plugin()
S
82 1 3
disable_plugin()
S
82 1 3
is_userless()
S
75 1 4
get_plugin()
S
82 1 3
set_plugin_instance()
S
77 1 4
sign_role()
S
79 1 3
reset_saved_auth_state()
S
81 1 3
has_connected_owner()
S
80 1 3
get_secrets()
S
75 1 4
remove_connection()
S
76 1 4
reset_raw_post_data()
S
81 1 3
delete_secrets()
S
75 1 4
get_access_token()
S
74 1 4
has_connected_user()
S
78 1 3
sha1_base64()
S
79 1 3
is_active()
S
80 1 3
get_tokens()
S
81 1 3
is_registered()
S
76 1 4
get_token()
S
79 1 3
xmlrpc_api_url()
S
67 1 8
verify_secrets()
S
74 1 4
validate_tokens()
S
75 1 4
has_connected_admin()
S
79 1 3
handle_authorization()
S
91 1 2